﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Article.aspx.cs" Inherits="SES.CMS.Article" %>
    <%@ Register Src="Module/ucLeftMenu.ascx" TagName="ucLeftMenu" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="/Styles/StyleOrther.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="idea2 ">
        <div style="float: left; width: 260px;">
            <uc1:ucleftmenu id="ucLeftMenu1" runat="server" />
        </div>
        <div style="float: left; width: 700px;">
            <div class="detail-art-box">
                <asp:Repeater runat="server" ID="rptArticle">
                    <ItemTemplate>
                        <h1 class="t-contact-title">
                            <%#Eval("Title") %></h1>
                        <p class="detail-art-create">
                            Ngày viết:
                            <%#Eval("CreateDate","{0:dd/MM/yyyy hh:mm:ss}") %></p>
                        <p class="detail-desc" style="display: none;">
                            <%#Eval("Description") %></p>
                        <div class="detail-art">
                            <%#Eval("ArticleDetail") %>
                        </div>
                        <p class="detail-art-author" style="display: none;">
                            <span>
                                <%#Eval("UserName") %>
                            </span>
                        </p>
                    </ItemTemplate>
                </asp:Repeater>
                <div class="social-content">
                    <iframe runat="server" id="abc" scrolling="no" frameborder="0" style="margin-top: 12px;
                        border: none; width: 75px; height: 20px;" allowtransparency="true"></iframe>
                    <asp:HyperLink runat="server" Target="_blank" ID="hplFacebook" NavigateUrl="http://www.facebook.com/sharer.php?u="><img alt="Chia sẻ thông tin này lên Facebook" width="20px" height="20px" src="/images/facebook.png" /></asp:HyperLink>
                    <asp:HyperLink runat="server" Target="_blank" ID="hplGoogle" NavigateUrl="https://plusone.google.com/_/+1/confirm?hl=en&url="><img alt="Chia sẻ lên Google Plus" width="20px" height="20px" src="/images/google.png" /></asp:HyperLink>
                    <asp:HyperLink runat="server" Target="_blank" ID="hplTwitter" NavigateUrl="http://twitter.com/home/?status="><img alt="Chia sẻ thông tin này lên Twitter" width="20px" height="20px" src="/images/twitter.png" /></asp:HyperLink>
                </div>
            </div>
            <div class="other-art">
                <p class="other-title">
                    Bài viết cùng danh mục</p>
                <ul class="ul-other-art">
                    <asp:Repeater runat="server" ID="rptOtherArticle">
                        <ItemTemplate>
                            <li><a href='/<%# CategoryTitle(Eval("CategoryID").ToString())%>/Article/<%#Eval("ArticleID")%>/<%#FriendlyUrl(Eval("Title").ToString()) %>'
                                title='<%#Eval("Title") %>'>
                                <%#Eval("Title") %>
                            </a></li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
            </div>
        </div>
    </div>
</asp:Content>
